module digitalTube(
	input  [3:0] in,
	output reg [6:0] out
);

always @(*) begin
	case(in)
		4'd0 : out = 7'b1000_000;
		4'd1 : out = 7'b1111_001;
		4'd2 : out = 7'b0100_100;
		4'd3 : out = 7'b0110_000;
		4'd4 : out = 7'b0011_001;
		4'd5 : out = 7'b0010_010;
		4'd6 : out = 7'b0000_011;
		4'd7 : out = 7'b1111_000;
		4'd8 : out = 7'b0000_000;
		4'd9 : out = 7'b0011_000;
		4'd10: out = 7'b1001_000;
		4'd11: out = 7'b1001_001;
		4'd12: out = 7'b1000_110;
		4'd13: out = 7'b0011_100;
		4'd14: out = 7'b0000_110;
		4'd15: out = 7'b0001_110;
	endcase
end

endmodule
